
<html>
<head>
    <title>网站主页面</title>
    <meta charset="utf-8"/>
</head>
<body>
<html>
<head><title>文件上传</title></head>
<body>
<form enctype="multipart/form-data" method="post" action="upload.php">
    <input type="hidden" name="MAX_FILE_SIZE" value="1000000" />
    <input type="file" name="file"/>
    <input type="submit">
</form>
<form action="upload.php"  method="post" enctype="multipart/form-data">
    <input type="hidden" name="MAX_FILE_SIZE" value="1000000">
    选择文件1：<input type="file" name="file[]"><br>
    选择文件2：<input type="file" name="file[]"><br>
    选择文件3：<input type="file" name="file[]"><br>
   
    <input type="submit" value="上传文件">
</form>
</body>
</html>
</body>
</html>
